<template>
  <div class="left">
    左侧组件<br />
    <button @click="sendGet">发送GET请求</button>
  </div>
</template>

<script>
export default {
  name: 'Left',
  methods: {
    async sendGet() {
      const { data: res } = await this.$http.get('/queryListChat')
      console.log(res)
    },
  },
}
</script>

<style scoped>
.left {
  background-color: #5bc0de;
  min-height: 250px;
  flex: 1;
}
</style>
